import request from '@/utils/request'
// gasManage:defaultSetting:userInfo:list
export function searchUserInfoApi(query) {
    return request({
        url: '/account/account/list',
        method: 'get',
        params: query
    })
}
// gasManage:defaultSetting:userInfo:add
export function addUserInfoApi(data) {
    return request({
        url: '/account/account',
        method: 'post',
        data: data
    })
}
// gasManage:defaultSetting:userInfo:list
export function searchUserInfoByIdApi(id){
    return request({
        url: '/account/account'+id,
        method: 'get'
    })
}
// gasManage:defaultSetting:userInfo:edit
export function editUserInfoApi(data){
    return request({
        url: '/account/account',
        method: 'put',
        data: data
    })
}
// gasManage:defaultSetting:userInfo:delete
export function deleteUserInfoApi(id) {
    return request({
        url: '/account/account/delete/'+id,
        method: 'delete'
    })
}